home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.plaf.basic;
-
- import javax.swing.JButton;
- import javax.swing.JComponent;
- import javax.swing.event.AncestorEvent;
- import javax.swing.event.AncestorListener;
-
- final class BasicFileChooserUI$1 implements AncestorListener {
- // $FF: synthetic field
- private final BasicFileChooserUI this$0;
-
- // $FF: synthetic method
- BasicFileChooserUI$1(BasicFileChooserUI var1) {
- this.this$0 = var1;
- }
-
- public void ancestorAdded(AncestorEvent var1) {
- JButton var2 = this.this$0.getApproveButton(this.this$0.getFileChooser());
- if (var2 != null) {
- ((JComponent)var2).requestFocus();
- }
-
- }
-
- public void ancestorMoved(AncestorEvent var1) {
- }
-
- public void ancestorRemoved(AncestorEvent var1) {
- }
- }
-